<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>order</title>
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <style>
        .list{
            width: 80%;
        }
    </style>
</head>
<body>
<center>
    <h2>订单信息</h2>
    <br>
<div class="list">
    <table border="1" style="border-collapse: collapse" class="table table-striped table-bordered table-hover mytable">
        <tr>
            <th>订单号</th>
            <th>用户名</th>
            <th>登陆用户</th>
            <th>乘车日期</th>
            <!--<th>密码</th>-->
            <th>车次</th>
            <th>乘车人</th>
            <th>座位</th>
            <th>出发时间</th>
            <th>到达时间</th>
            <th>出发站</th>
            <th>到达站</th>
            <th>状态</th>
            <th>更新时间</th>
            <th>备注</th>
            <th>操作</th>
        </tr>
        {% for i in data %}
            <tr>
                <td>{{i.order_id}}</td>
                <td>{{i.username}}</td>
                <td>{{i.login_user}}</td>
                <td>{{i.train_date|date:"Y-m-d"}}</td>
                <!--<td>{ {i.password}}</td>-->
                <td>{{i.train_no}}</td>
                <td>{{i.passenger}}</td>
                <td>{{i.seat}}</td>
                <td>{{i.start_time}}</td>
                <td>{{i.arrive_time}}</td>
                <td>{{i.start_station}}</td>
                <td>{{i.arrive_station}}</td>
                <td>{{i.state}}</td>
                <td>{{i.update_time|date:"Y-m-d H:i:s"}}</td>
                <td>{{i.remark}}</td>
                <td><a href="../go/">开始</a></td>
            </tr>
        {% endfor %}
    </table>
   </div>
</center>

</body>
</html>